package com.ffcs.crmd.tsp.admin.service;

import java.util.List;

import com.ctg.itrdc.platform.common.entity.PageInfo;
import com.ffcs.crmd.tsp.admin.entity.SliceGroup;
import com.ffcs.crmd.tsp.common.exception.TspException;

public interface ISliceGroupService {
    
    /**
     * 
     * 功能说明:
     * 
     * @param sliceGroupList
     * @throws TspException
     */
    public void deleteSliceGroup(List<SliceGroup> sliceGroupList) throws TspException;
    
    /**
     * 
     * 功能说明:
     * 
     * @param sliceGroup
     * @throws TspException
     */
    public void deleteSliceGroup(SliceGroup sliceGroup) throws TspException;
    
    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param id
     * @return
     * @throws TspException
     */
    SliceGroup get(SliceGroup sliceGroup) throws TspException;
    
    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param name
     * @param jobId
     * @return
     * @throws TspException
     */
    List<SliceGroup> query(SliceGroup sliceGroup) throws TspException;
    


    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param name
     * @param jobId
     * @param pageNumber
     * @param pageSize
     * @return
     * @throws TspException
     */
    PageInfo<SliceGroup> queryPage(SliceGroup sliceGroup, int pageNumber, int pageSize) throws TspException;

    /**
     * 
     * 功能说明:
     * 
     * @param sliceGroup
     * @throws TspException
     */
    public void saveSliceGroup(SliceGroup sliceGroup) throws TspException;

    /**
     * 
     * 功能说明:
     * 
     * @param sliceGroup
     * @throws TspException
     */
    public void updateSliceGroup(SliceGroup sliceGroup) throws TspException;
    
}
